package com.sz.app.edi.rest.edi.track.dto;

import com.sz.app.edi.rest.edi.order.dto.SubOrder;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import java.math.BigDecimal;
import java.util.List;

/**
 * Function: 第一个供应商收到货后发给我们的详细信息 <br>
 * Author: hpeng.wang. <br>
 * Date: 2017-07-15 10:37:00.
 */
public class ReceGoodOrder  {
    private String waybillNo;
    private String code;
    private Integer status;
    private BigDecimal totalWeight;
    private String trackMessage;
    private String messageTime;
    private List<SubOrder> subOrder;

    public String getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(String waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    public String getTrackMessage() {
        return trackMessage;
    }

    public void setTrackMessage(String trackMessage) {
        this.trackMessage = trackMessage;
    }

    public String getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(String messageTime) {
        this.messageTime = messageTime;
    }
    @XmlElementWrapper(name = "subOrders")
    @XmlElement(name = "subOrder")
    public List<SubOrder> getSubOrder() {
        return subOrder;
    }

    public void setSubOrder(List<SubOrder> subOrder) {
        this.subOrder = subOrder;
    }
}
